/**
 * grayrabbit Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */
package com.grayrabbit.slacker.interfaces;

import java.util.Map;

import com.grayrabbit.slacker.config.GenerateConfig;

/**
 * 代码生成处理类
 * 
 * @author liyd
 * @version $Id: CodeGenerate.java, v 0.1 2012-5-8 下午6:14:45 liyd Exp $
 */
public interface CodeGenerate {

    /**
     * 生成代码
     * 
     * @param generate 任务信息
     * @param modelMap 替换的变量参数
     */
    public void generate(GenerateConfig generateConfig, Map<String, String> modelMap);

}
